﻿/*
---------------------------------------------------
    Rodeo Game Engine
    
    Rodeo Core Module
    FontManager.h
 
    Copyright(c) Marcin Goryca
---------------------------------------------------
*/
#ifndef RODEO_CORE_FONTMANAGER_H_
#define RODEO_CORE_FONTMANAGER_H_

#ifndef RODEO_RENDERER_FONT_H_
#include "renderer\font.h"
#endif    //RODEO_RENDERER_FONT_H_

#ifndef RODEO_CORE_SINGLETON_H_
#include "core\Singleton.h"
#endif    //RODEO_CORE_SINGLETON_H_

#ifndef RODEO_CORE_MASTERMANAGER_H_
#include "core\mastermanager.h"
#endif    //RODEO_CORE_MASTERMANAGER_H_

namespace rodeocore
{
class FontManager : public Singleton<FontManager>, public MasterManager
{
public:
    FontManager(){}

    ~FontManager()
    { 
        clear();
    }

    // Gets Font object pointer
    rodeorenderer::Font* getFont() const { return font_; }


private:
    void init();
    void clear();

//==== MEMBERS ====//
    rodeorenderer::Font* font_;
};
}    //end of rodeocore namespace

#endif    //RODEO_CORE_FONTMANAGER_H_